export default {
  base: [{
      name: 'enableScroll',
      desc: '开启图表可拖拽滚动',
      value: false,
      default: false,
      type: 'bool'
    },{
      name: 'enableMarkLine',
      desc: '是否启用标记线功能',
      value: false,
      default: false,
      type: 'bool',
    },{
      name: 'dataLabel',
      desc: '是否显示图表数据标签',
      value: true,
      default: true,
      type: 'bool'
    },{
      name: 'loadingType',
      desc: '加载动画样式',
      value: 2,
      default: 2,
      type: 'number'
    },{
      name: 'timing',
      desc: '图表动画效果',
      value: 'easeOut',
      default: 'easeOut',
      type: 'select',
      selectList: [{
           value: 'easeOut',
           label: '由快到慢'
        },{
           value: 'easeIn',
           label: '由慢到快'
        },{
           value: 'easeInOut',
           label: '慢快慢'
        },{
           value: 'linear',
           label: '匀速'
      }]
    },{
      name: 'color',
      desc: '主题颜色，16进制颜色格式',
      value: '["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"]',
      default: '["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"]',
      type: 'text'
    },{
      name: 'padding',
      desc: '画布填充边距[上,右,下,左]',
      value: '[15,15,0,5]',
      default: '[15,15,0,5]',
      type: 'text'
    },{
      name: 'rotate',
      desc: '横屏模式',
      value: false,
      default: false,
      type: 'bool',
    },{
      name: 'fontSize',
      desc: '字体大小，默认13',
      value: 13,
      default: 13,
      type: 'number'
    },{
      name: 'fontColor',
      desc: '字体颜色，16进制颜色格式',
      value: '#666666',
      default: '#666666',
      type: 'text'
  }],
  xAxis: [{
      name: 'disabled',
      desc: '不绘制X轴',
      value: false,
      default: false,
      type: 'bool'
    },{
      name: 'axisLine',
      desc: '绘制坐标轴轴线',
      value: true,
      default: true,
      type: 'bool',
    },{
      name: 'axisLineColor',
      desc: '坐标轴轴线颜色，默认#CCCCCC',
      value:'#CCCCCC',
      default: '#CCCCCC',
      type: 'text'
    },{
      name: 'calibration',
      desc: '坐标轴刻度线',
      value: false,
      default: false,
      type: 'bool',
    },{
      name: 'fontColor',
      desc: '刻度点字体颜色',
      value:'#666666',
      default: '#666666',
      type: 'text'
    },{
      name: 'fontSize',
      desc: '刻度点字体大小',
      value: 13,
      default: 13,
      type: 'number'
    },{
      name: 'lineHeight',
      desc: 'X轴文字字体行高',
      value: 20,
      default: 20,
      type: 'number'
    },{
      name: 'marginTop',
      desc: 'X轴文字距离轴线的距离',
      value: 0,
      default: 0,
      type: 'number'
    },{
      name: 'rotateLabel',
      desc: '刻度点文字旋转',
      value: false,
      default: false,
      type: 'bool'
    },{
      name: 'rotateAngle',
      desc: '文字旋转的角度，取值范围(-90至90)',
      value: 45,
      default: 45,
      type: 'number'
    },{
      name: 'boundaryGap',
      desc: '折线图、区域图起画点结束点方法',
      value:'justify',
      default: 'justify',
      type: 'select',
      selectList: [{
         value: 'justify',
         label: '两端对齐'
        },{
           value: 'center',
           label: '两端留空'
      }]
    },{
      name: 'disableGrid',
      desc: '不绘制纵向网格',
      value: false,
      default: false,
      type: 'bool'
    },{
      name: 'splitNumber',
      desc: 'X轴网格数量',
      value: 5,
      default: 5,
      type: 'number'
    },{
      name: 'gridColor',
      desc: '纵向网格颜色',
      value: '#CCCCCC',
      default: '#CCCCCC',
      type: 'text'
    },{
      name: 'gridType',
      desc: '纵向网格线型',
      value:'solid',
      default: 'solid',
      type: 'select',
      selectList: [{
           value: 'solid',
           label: '实线'
        },{
           value: 'dash',
           label: '虚线'
      }]
    },{
      name: 'scrollShow',
      desc: '是否显示滚动条,enableScroll 时有效',
      value: false,
      default: false,
      type: 'bool'
    },{
      name: 'min',
      desc: 'X轴起始值',
      value: 0,
      default: 0,
      type: 'number'
    },{
      name: 'max',
      desc: 'X轴终止值',
      value: 250,
      default: 259,
      type: 'number'
    },{
      name: 'title',
      desc: 'X轴标题',
      value: '',
      default: '',
      type: 'text'
    },{
      name: 'titleFontSize',
      desc: '标题字体大小',
      value: 13,
      default: 13,
      type: 'number'
    },{
      name: 'titleOffsetY',
      desc: '标题纵向偏移距离，负数为向上偏移，正数向下偏移',
      value: 0,
      default: 0,
      type: 'number'
    },{
      name: 'titleOffsetX',
      desc: '标题横向偏移距离，负数为向左偏移，正数向右偏移',
      value: 0,
      default: 0,
      type: 'number'
    },{
      name: 'titleFontColor',
      desc: '标题字体颜色，默认#666666',
      value: '#666666',
      default: '#666666',
      type: 'text'
    },{
      name: 'format',
      desc: '格式化X轴',
      value: '',
      default: '',
      type: 'text'
    }
  ],
  yAxis: [{
      name: 'disabled',
      desc: '不绘制Y轴',
      value: false,
      default: false,
      type: 'bool'
    },{
      name: 'position',
      desc: '当前Y轴显示位置',
      value:'left',
      default: 'left',
      type: 'select',
      selectList: [{
           value: 'left',
           label: '左侧显示'
        },{
           value: 'right',
           label: '右侧显示',
        },{
          value: 'center',
          label: '居中显示'
      }]
    },{
      name: 'axisLine',
      desc: '绘制坐标轴轴线',
      value: true,
      default: true,
      type: 'bool',
    },{
      name: 'axisLineColor',
      desc: '坐标轴轴线颜色，默认#CCCCCC',
      value:'#CCCCCC',
      default: '#CCCCCC',
      type: 'text'
    },{
      name: 'calibration',
      desc: '坐标轴刻度线',
      value: false,
      default: false,
      type: 'bool',
    },{
      name: 'fontColor',
      desc: '刻度点字体颜色',
      value:'#666666',
      default: '#666666',
      type: 'text'
    },{
      name: 'fontSize',
      desc: '刻度点字体大小',
      value: 13,
      default: 13,
      type: 'number'
    },{
      name: 'textAlign',
      desc: '刻度点相对轴线的对齐方式',
      value:'right',
      default: 'right',
      type: 'select',
      selectList: [{
           value: 'right',
           label: '右对齐'
        },{
           value: 'left',
           label: '左对齐',
        },{
          value: 'center',
          label: '居中显示'
      }]
    },{
      name: 'disableGrid',
      desc: '不绘制纵向网格',
      value: false,
      default: false,
      type: 'bool'
    },{
      name: 'splitNumber',
      desc: 'X轴网格数量',
      value: 5,
      default: 5,
      type: 'number'
    },{
      name: 'gridColor',
      desc: '纵向网格颜色',
      value: '#CCCCCC',
      default: '#CCCCCC',
      type: 'text'
    },{
      name: 'gridType',
      desc: '纵向网格线型',
      value:'solid',
      default: 'solid',
      type: 'select',
      selectList: [{
           value: 'solid',
           label: '实线'
        },{
           value: 'dash',
           label: '虚线'
      }]
    },{
      name: 'showTitle',
      desc: '不绘制Y轴标题',
      value: false,
      default: false,
      type: 'bool'
    },{
      name: 'min',
      desc: 'X轴起始值',
      value: 0,
      default: 0,
      type: 'number'
    },{
      name: 'max',
      desc: 'X轴终止值',
      value: 250,
      default: 259,
      type: 'number'
    },{
      name: 'tofix',
      desc: '小数位数',
      value: 2,
      default: 2,
      type: 'number'
    },{
      name: 'unit',
      desc: '刻度值后附加单位',
      value: '',
      default: '',
      type: 'text'
    },{
      name: 'title',
      desc: 'X轴标题',
      value: '',
      default: '',
      type: 'text'
    },{
      name: 'titleFontSize',
      desc: '标题字体大小',
      value: 13,
      default: 13,
      type: 'number'
    },{
      name: 'titleOffsetY',
      desc: '标题纵向偏移距离，负数为向上偏移，正数向下偏移',
      value: 0,
      default: 0,
      type: 'number'
    },{
      name: 'titleOffsetX',
      desc: '标题横向偏移距离，负数为向左偏移，正数向右偏移',
      value: 0,
      default: 0,
      type: 'number'
    },{
      name: 'titleFontColor',
      desc: '标题字体颜色，默认#666666',
      value: '#666666',
      default: '#666666',
      type: 'text'
    },{
      name: 'format',
      desc: '格式化X轴',
      value: '',
      default: '',
      type: 'text'
    }
  ],
  legend: [{
      name: 'show',
      desc: '是否显示图例标识',
      value: true,
      default: true,
      type: 'bool'
    }, {
      name: 'position',
      desc: '图例相对画布的显示位置',
      value: 'bottom',
      default: 'bottom',
      type: 'select',
      selectList: [{
           value: 'bottom',
           label: '底部'
        },{
           value: 'top',
           label: '顶部'
        },{
          value: 'left',
          label: '左侧'
        },{
          value: 'right',
          label: '右侧'
      }]
    }, {
      name: 'float',
      desc: '图例位置对齐方向',
      value: 'center',
      default: 'center',
      type: 'select',
      selectList: [{
           value: 'left',
           label: '左侧'
        },{
           value: 'right',
           label: '右侧'
        },{
          value: 'top',
          label: '顶部'
        },{
          value: 'bottom',
          label: '底部'
        },{
          value: 'center',
          label: '居中'
      }]
    }, {
      name: 'padding',
      desc: '图例内填充边距，默认5',
      value: 5,
      default: 5,
      type: 'number'
    }, {
      name: 'margin',
      desc: '图例外侧填充边距，默认5',
      value: 5,
      default: 5,
      type: 'number'
    }, {
      name: 'borderWidth',
      desc: '图例边框线宽，默认0',
      value: 0,
      default: 0,
      type: 'number'
    },{
      name: 'backgroundColor',
      desc: '图例背景颜色，默认为"rgba(0,0,0,0)"透明色',
      value: 'rgba(0,0,0,0)',
      default: 'rgba(0,0,0,0)',
      type: 'text',
    },{
       name: 'borderColor',
       desc: '图例边框颜色，默认为"rgba(0,0,0,0)"透明色',
       value: 'rgba(0,0,0,0)',
       default: 'rgba(0,0,0,0)',
       type: 'text'
    },{
       name: 'fontColor',
       desc: '字体颜色，默认#666666',
       value: '#666666',
       default: '#666666',
       type: 'text'
    }, {
      name: 'fontSize',
      desc: '字体大小，默认13',
      value: 13,
      default: 13,
      type: 'number'
    }, {
      name: 'lineHeight',
      desc: '字体行高，默认11',
      value: 11,
      default: 11,
      type: 'number'
  }],
  extra:{
    tooltip: [{
        name: 'showBox',
        desc: '是否显示提示窗',
        value: true,
        default: true,
        type: 'bool'
      }, {
         name: 'bgColor',
         desc: '提示窗口的背景颜色，默认#000000',
         value: '#000000',
         default: '#000000',
         type: 'text'
      }, {
        name: 'bgOpacity',
        desc: '提示窗口的背景颜色透明度，默认0.7',
        value: 0.7,
        default: 0.7,
        type: 'number'
      }, {
         name: 'fontColor',
         desc: '提示窗内的文字颜色，默认#FFFFFF',
         value: '#FFFFFF',
         default: '#FFFFFF',
         type: 'text'
      }, {
        name: 'fontSize',
        desc: '提示窗内的文字尺寸，默认13',
        value: 13,
        default: 13,
        type: 'number'
      }, {
        name: 'lineHeight',
        desc: '提示窗文字行高，默认20',
        value: 20,
        default: 20,
        type: 'number'
    }],
    column: [{
       name: 'type',
       desc: '柱状图类型',
       value: 'group',
       default: 'group',
       type: 'select',
       chartsType: 'column',
       selectList: [{
           value: 'group',
           label: '分组柱状图'
        },{
           value: 'stack',
           label: '堆叠柱状图'
        },{
          value: 'meter',
          label: '温度计式图'
      }]
    }],
    mount: [{
       name: 'type',
       desc: '山峰图类型',
       value: 'mount',
       default: 'mount',
       type: 'select',
       chartsType: 'mount',
       selectList: [{
           value: 'mount',
           label: '圆角'
        },{
           value: 'sharp',
           label: '尖角'
        },{
          value: 'triangle',
          label: '三角'
        },{
          value: 'bar',
          label: '直角'
      }]
    }],
    bar: [{
       name: 'type',
       desc: '条状图类型',
       value: 'group',
       default: 'group',
       type: 'select',
       chartsType: 'bar',
       selectList: [{
           value: 'group',
           label: '分组柱状图'
        },{
           value: 'stack',
           label: '堆叠柱状图'
      }]
    }],
    tline: [{
       name: 'type',
       desc: '折线图类型',
       value: 'straight',
       default: 'straight',
       type: 'select',
       chartsType: 'tline',
       selectList: [{
            value: 'straight',
            label: '尖角折线模式'
         },{
            value: 'curve',
            label: '曲线圆滑模式'
         },{
           value: 'step',
           label: '时序图模式'
       }]
    }],
    tarea: [{
       name: 'type',
       desc: '区域图类型',
       value: 'straight',
       default: 'straight',
       type: 'select',
       chartsType: 'tarea',
       selectList: [{
            value: 'straight',
            label: '尖角折线模式'
         },{
            value: 'curve',
            label: '曲线圆滑模式'
         },{
           value: 'step',
           label: '时序图模式'
       }]
    }],
    bubble: [{
      name: 'border',
      desc: '气泡边框宽度',
      value: 2,
      default: 2,
      type: 'number',
      chartsType: 'bubble'
    }],
    mix: {
      column: [{
        name: 'width',
        desc: '柱状图每个柱子的图形宽度',
        value: 20,
        default: 20,
        type: 'number',
        chartsType: 'mix'
      }],
      area: [{
        name: 'opacity',
        desc: '区域图透明度，默认0.2',
        value: 0.2,
        default: 0.2,
        type: 'number',
        chartsType: 'mix'
      }]
    },
    pie: [{
      name: 'border',
      desc: '是否绘制各类别中间的分割线',
      value: true,
      default: true,
      type: 'bool',
      chartsType: 'pie'
    }],
    ring: [{
        name: 'ringWidth',
        desc: '圆环的宽度，默认30',
        value: 30,
        default: 30,
        type: 'number',
        chartsType: 'ring'
      },{
        name: 'centerColor',
        desc: '中间填充圆形的颜色，默认#FFFFFF',
        value: '#FFFFFF',
        default: '#FFFFFF',
        type: 'text',
        chartsType: 'ring'
      }
    ],
    rose: [{
       name: 'type',
       desc: '玫瑰图样式',
       value: 'area',
       default: 'area',
       type: 'select',
       chartsType: 'rose',
       selectList: [{
            value: 'area',
            label: '面积模式'
         },{
            value: 'radius',
            label: '半径模式'
       }]
    }],
    radar: [{
       name: 'gridType',
       desc: '雷达图网格类型',
       value: 'radar',
       default: 'radar',
       type: 'select',
       chartsType: 'radar',
       selectList: [{
            value: 'radar',
            label: '蜘蛛网格样式'
         },{
            value: 'circle',
            label: '圆形背景网格'
       }]
    }],
    arcbar: [{
       name: 'type',
       desc: '圆弧进度图样式',
       value: 'default',
       default: 'default',
       type: 'select',
       chartsType: 'arcbar',
       selectList: [{
            value: 'default',
            label: '半圆弧模式'
         },{
            value: 'circle',
            label: '整圆模式'
       }]
    }],
    gauge: [{
       name: 'type',
       desc: '仪表盘样式',
       value: 'default',
       default: 'default',
       type: 'select',
       chartsType: 'gauge',
       selectList: [{
            value: 'default',
            label: '标准仪表盘'
         },{
            value: 'progress',
            label: '带刻度进度条'
       }]
    }],
    funnel: [{
       name: 'type',
       desc: '漏斗图类型',
       value: 'funnel',
       default: 'funnel',
       type: 'select',
       chartsType: 'funnel',
       selectList: [{
            value: 'funnel',
            label: '基本漏斗图'
         },{
            value: 'triangle',
            label: '倒三角漏斗图'
         },{
           value: 'pyramid',
           label: '金字塔漏斗图'
       }]
    }],
    word: [{
       name: 'type',
       desc: '词云图样式',
       value: 'normal',
       default: 'normal',
       type: 'select',
       chartsType: 'word',
       selectList: [{
            value: 'normal',
            label: '水平排列'
         },{
            value: 'vertical',
            label: '垂直排列'
       }]
      },{
        name: 'autoColors',
        desc: '是否开启随机颜色',
        value: true,
        default: true,
        type: 'bool',
        chartsType: 'word'
    }],
    candle: [{
      color: [{
        name: 'upLine',
        desc: 'K线图为涨时线颜色，默认#f04864',
        value: '#f04864',
        default: '#f04864',
        type: 'text',
        chartsType: 'candle'
      }],
      average: [{
        name: 'show',
        desc: '是否叠加显示均线',
        value: true,
        default: true,
        type: 'bool',
        chartsType: 'candle'
        }]
    }],
    map: [{
      name: 'border',
      desc: '是否绘制各类别中间的分割线',
      value: true,
      default: true,
      type: 'bool',
      chartsType: 'map'
    }]
  }
}
